package com.sharding.spherexa.service;


import com.sharding.spherexa.entity.ItemStock;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ItemStockService {

    int saveItemStock(ItemStock itemStock);

    List<ItemStock> queryItemStock();

    int reduceStock(long itemId, int num);
}
